package com.gulimall.product.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.gulimall.common.utils.PageUtils;
import com.gulimall.product.entity.AttrGroupEntity;
import com.gulimall.product.entity.AttrGroupWithAttrVo;

import java.util.List;

/**
 * 属性分组
 *
 * @author ht
 * @email ht035200@163.com
 * @date 2020-04-08 11:13:29
 */
public interface AttrGroupService extends IService<AttrGroupEntity> {

    IPage<AttrGroupEntity> queryPage(Page<AttrGroupEntity> page, AttrGroupEntity params, String key);

    IPage<AttrGroupEntity> queryAllDataPage(Page<AttrGroupEntity> page,AttrGroupEntity attrGroup, String key);

    List<AttrGroupWithAttrVo> getAttrGroupWithAttrs(Long catId);
}

